﻿<%@ Page Language="C#" MasterPageFile="~/webadmin/pages/MasterPage.master" AutoEventWireup="true" CodeFile="backup_restore_database.aspx.cs" Inherits="webadmin_pages_backup_restore_database" Title="Sao lưu và phục hồi dữ liệu" %>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder_Main" Runat="Server">
    <div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>
                        Thêm mới : <span style="color: #00cc00">Danh mục chính sách </span>
                    </h3>
	
				  <div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
                <div class="content-box-content">
                
                <% if (!string.IsNullOrEmpty(messageError))
                   {%>
			<div class="notification error png_bg">
				<a href="#" class="close"><img src="../resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
				<div>
				Thông báo lỗi:  <b><i><%=messageError%></i></b></div>
			</div>
                <%} %>
                <p>
                    <label>Tên file khi lưu backup<asp:RequiredFieldValidator ID="errforTenChinhSach" runat="server" ControlToValidate="txtTen"
                        ErrorMessage="(*)" ValidationGroup="1"></asp:RequiredFieldValidator>:</label>
                    <asp:TextBox ID="txtTen" runat="server" CssClass="text-input medium-input" Width="327px"></asp:TextBox>
                     <asp:Button CssClass="button" ID="btnBackup" runat="server" Text="Backup" OnClick="btnBackup_Click" ValidationGroup="1" UseSubmitBehavior="False" /></p>
                <p>
                <label>Chọn file để restore<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="cboFileBackup"
                        ErrorMessage="(*)" ValidationGroup="2"></asp:RequiredFieldValidator>:</label>&nbsp;<asp:DropDownList
                            ID="cboFileBackup" runat="server" Width="302px">
                        </asp:DropDownList>
                     <asp:Button CssClass="button" ID="btnRestore" runat="server" Text="Restore" ValidationGroup="2" UseSubmitBehavior="False" />
                </p>
    
            </div>
        </div>
</asp:Content>

